package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_share_account_balance", comment = "共享账户")
public class ShareAccountBalance extends BaseEntity implements Serializable {

    /**
     *  100
     *  80
     *  20
     */

    @Column(comment = "账户余额")
    private BigDecimal balance;


    @Column(comment = "共享账户ID")
    private Long shareAccountId;


    @Column(comment = "转入金额")
    private BigDecimal transferInAmount;


}
